package com.ssyt.yec.common;

import com.ssyt.yec.common.util.AppUtil;



/**
 * 系统常量
 *
 * @author Hsu.
 * 
 */
public class Constant {

	/**
	 * 数据库相关的常量
	 */
	public static final String DRIVER = AppUtil.getDefaultBundle("driver");
	public static final String URL = AppUtil.getDefaultBundle("url");
	public static final String USER = AppUtil.getDefaultBundle("user");
	public static final String PASSWORD = AppUtil.getDefaultBundle("password");
	
	/**
	 * 分页设置
	 */
	public static final int DEFULT_PAGE_NO=1;
	public static final int DEFAULT_PAGE_SIZE=10;
	
	/**
	 * 编码
	 */
	public static final String ENCODING_UTF8="UTF-8";
	public static final String ENCODING_ISO88591="ISO-8859-1";
	public static final String ENCODING_GBK="GBK";
	
	/**
	 * Validate较验后缀
	 */
	public static final String VALIDATE_NOT_BLANK = "不能为null或\"\"";
	public static final String VALIDATE_NOT_NULL = "不能为null";
}
